package main.textUpdate;

import java.io.File;
import swingExtended.progressPanel.ProgressPanel;

/**
 *
 * @author g1wshimu
 */
public class StatusUpdate extends TextUpdate {
    
    public StatusUpdate(ProgressPanel panel, String msg) {
        super(panel, msg);
    }

    public StatusUpdate(ProgressPanel panel, String msg, String file) {
        super(panel, msg + new File(file).getName());
    }
    
    @Override
    public void update() {
        getPanel().getStatusTextPane().println(MSG);
    }
}
